import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'venueId',
    type: 'select',
    label: translate('venue'),
    // clearable: false,
    labelCode: 'name',
    valueCode: 'id',
    options: []
  },
  {
    filed: 'userInfo',
    type: 'input',
    label: translate('memberInfo')
  },
  {
    filed: 'time',
    type: 'daterange',
    label: translate('rq')
  },
  {
    filed: 'orderId',
    type: 'input',
    label: translate('orderId')
  },
  {
    filed: 'channelType',
    type: 'select',
    label: translate('orderSource'),
    labelCode: 'name',
    options: []
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: translate('payMethod'),
    labelCode: 'name',
    options: []
  },
  {
    filed: 'payStatus',
    type: 'select',
    label: translate('orderStatus'),
    options: [
      // { value: '0', label: '未支付' },
      // { value: '1', label: '过期未付' },
      // { value: '2', label: '已取消' },
      { value: '3', label: translate('zfcg') },
      // { value: '4', label: translate('useStatus7') },
      { value: '5', label: translate('useStatus8') }]
  },
  {
    filed: 'editorName',
    type: 'input',
    label: translate('operator')
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
